package com.sh.shanhuo.database.sort;

import androidx.annotation.NonNull;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.Index;
import androidx.room.PrimaryKey;

@Entity(tableName = "sort_info", indices = {@Index("sortName")})
public class SortInfoEntity {

    @PrimaryKey(autoGenerate = true)
    public long _id;

    @NonNull
    @ColumnInfo(name = "sortName")
    public String sortName = "默认";

    @ColumnInfo(name = "sequence")
    public int sequence;
}
